package com.cloud.edu.bus.client.admin;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cloud.edu.model.response.ObjectDataResponse;


/**
 * @author dehuisun
 */
@FeignClient(name = AdminClient.SERVICE_ID, fallback = AdminClientFallback.class)
public interface AdminClient {
    /**
     * eureka service name
     */
    String SERVICE_ID = "edu-admin-server";
    /**
     * common api prefix
     */
    String API_PATH = "/admin";
//
//    @RequestMapping(value = API_PATH + "/users/{userId}", method = RequestMethod.GET)
//    public ObjectDataResponse<User>  findUser(@PathVariable("userId") String userId);


}
